<include file="public/layout"/>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>

<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>矿机设置</h3>
                <h5>矿机基本设置</h5>
            </div>
            <ul class="tab-base nc-row">
                <foreach name="group_list" item="v" key="k">
                    <li><a href="{:U('World.World/system',['inc_type'=> $k])}" <if condition="$k==$inc_type">class="current"</if>><span>{$v}</span></a></li>
                </foreach>
            </ul>
        </div>
    </div>
    <!-- 操作说明 -->
    <div class="explanation" id="explanation">
        <div class="title" id="checkZoom"><i class="fa fa-lightbulb-o"></i>
            <h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
            <span id="explanationZoom" title="收起提示"></span></div>
        <ul>
            <li>切不可频繁更改</li>
        </ul>
    </div>
    <form method="post" enctype="multipart/form-data" name="form1" action="{:U('World.World/handle')}">
        <input type="hidden" name="inc_type" value="{$inc_type}">
        <div class="ncap-form-default">
            <dl class="row">
                <dt class="tit">
                    <label for="sign">签到送余额：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="sign" name="sign" value="{$config.sign|default=0}" class="input-txt" type="text">
                    <span class="err">只能输入整数</span>
                    <!-- <p class="notic">注：请输入整数</p> -->
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="multiple">杠杆倍数：</label>
                </dt>
                <dd class="opt">
                    <input  pattern="^\d{1,}$" id="multiple" name="multiple" value="{$config.multiple|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">注：请输入整数</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="relase_size">释放值：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="relase_size" name="relase_size" value="{$config.relase_size|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">注：0.1 = 10%  请填写小数点格式数值</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="able_give_number">平台赠送矿机数量：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="able_give_number" name="able_give_number" value="{$config.able_give_number|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">注：当前值是目前可送,切不可随意更改，尽量是双数</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="seal_balance">解封扣除可售余额：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="seal_balance" name="seal_balance" value="{$config.seal_balance|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">注：请输入整数</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="seal_salable">解封扣除可售额度：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="seal_salable" name="seal_salable" value="{$config.seal_salable|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">注：请输入整数</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="release_time">释放间隔时间：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="release_time" name="release_time" value="{$config.release_time|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic">单位：分钟</p>
                </dd>
            </dl>
            <dl class="row">
                <dt class="tit">
                    <label for="Waiter">冻结登录客服账号提示：</label>
                </dt>
                <dd class="opt">
                    <input pattern="^\d{1,}$" id="Waiter" name="Waiter" value="{$config.Waiter|default=0}" class="input-txt" type="text">
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>

            <dl class="row">
                <dt class="tit">
                    <label for="onlineService">客服二维码</label>
                </dt>
                <dd class="opt">
                    <div class="input-file-show">
                        <span class="show">
                            <a id="img_a" class="nyroModal" rel="gal" href="{$config.onlineService}">
                                <i id="img_i" class="fa fa-picture-o" onmouseover="layer.tips('<img src={$config.onlineService}>',this,{tips: [1, '#fff']});" onmouseout="layer.closeAll();"></i>
                            </a>
                        </span>
                        <span class="type-file-box">
                            <input type="text" id="onlineService" name="onlineService" value="{$config.onlineService}" class="type-file-text">
                            <input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
                            <input class="type-file-file" onClick="GetUploadify(1,'','logo','img_call_back')" size="30" hidefocus="true" nc_type="change_site_logo" title="点击前方预览图可查看大图，点击按钮选择文件并提交表单后上传生效">
                        </span>
                    </div>
                    <span class="err"></span>
                    <p class="notic"></p>
                </dd>
            </dl>

            <div class="bot"><a href="JavaScript:void(0);" class="ncap-btn-big ncap-btn-green" onclick="document.form1.submit()">确认提交</a></div>
        </div>
    </form>
</div>
<script type="text/javascript">
//网站首页logo
    function img_call_back(fileurl_tmp)
    {
        $("#onlineService").val(fileurl_tmp);
        $("#img_a").attr('href', fileurl_tmp);
        $("#img_i").attr('onmouseover', "layer.tips('<img src="+fileurl_tmp+">',this,{tips: [1, '#fff']});");
    }
</script>
<div id="goTop">
    <a href="JavaScript:void(0);" id="btntop">
        <i class="fa fa-angle-up"></i>
    </a>
    <a href="JavaScript:void(0);" id="btnbottom">
        <i class="fa fa-angle-down"></i>
    </a>
</div>
</body>
</html>